<?php

#####################################
########### CONFIGURATION ###########
#####################################

#An extention for files to be created. Currently outdated, was used in v 0.1 when output was source only.
#You can remove this variable, default ext will be .php. Default: ".php".
$ext=".php";

#A relative(to this script, not to server root!!!) path where to put sources. Default is "./". 
#REQUIRES this path to exist and be writeable by webserver and ending with /
#NOTICE: Always add . before the path, because if you use /, it will mean the file should be created in root.
#Example 1: if you use pastebin script inside /somedir/ and placing code in the same dir, leave this param with no changes.
#Example 2: if you use pastebin script inside /somedir/ and placing code in /otherdir/ , set this param to ./../otherdir/
#Example 3: if you use pastebin script in root and placing code in /somedir/ , set this param to ./somedir/
$path="./";

#This is an admin password you can set if you don't want anyone to post sources except for you. Default empty.
$passwd="";

#This is an pasted code index container file path.
#WARNING: Modify this value! Better to keep pastes index file outside of server root so noone will access it. 
#WARNING: It contains full list of pastes so someone may read all the pastes using this file's content.
#WARNING: Do not edit that index file!
#Comment or empty this value if you don't want to use index system. Default is "./.htpastes".
$index="./.htpastes";

#Print recent entries at front page? Set 0 to disable. Default 1.
#Requires $index file to exist.
$index_show=1;

#Limit for entries to be shown on main page. Should be not less than 5 and not greater than 20 for best experience.
#Requires $index file to exist. Default 10.
$index_limit=10;

#Index HTML table width.
$index_width=200;

#Enable javascript for recent entries index.
#If 0, user can only go to paste by clicking URL, if 1 he also may click on any place on highlighted space near URL. 
#This javascript function is optional. Default 0.
$index_js=0;

#maximum length of a filename (without .php extention). Should be not less than 8 and not greater than 40. Default 12.
$maxlen=12;

#The title for main page. Default "My pastebin [Powered by PHPS Pastebin]".
$title="My pastebin [Powered by PHPS Pastebin]";

#The default title shown in source review pages. Default "PHPS Pastebin - Source Review".
$sources_title="PHPS Pastebin - Source Review";

#GZip source compression level, from 1-9, 9 is best but takes more time, 1 is worst, takes less time. 
#Default is 5. Recommended value: 5. Set 0 to disable compression. 
#Notice: 0 not means the compression level 0 to zlib, it disables compression at all. The source will be written as plaintext after the loader.
$gzlvl=5;

#Adds length limit for pasted code. Set 0 to disable limit. Default 65536.
$limit_source=65536;

#Adds lenght limit for pasted code's title. Set 0 to disable limit. Default 48.
$limit_title=48;

#Shows GMT time of paste in index. Default 1.
$index_show_time=1;

#Shows paster IP address in index. Default 0.
#If set to 1, a warning message appears under the post form saying IP address is being logged and publicy visible.
$index_show_ip=0;

#Switch to maximum verbose PHP parser mode
$debug=0;

?>
